﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IVRJunctionUI
{
    public partial class Summary : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
      
        protected String InterpretStatusCode(Object value)
        {
            int code = (Int32)value;
            String statusRead = "unknown";

            if (code == 0)
            {
                statusRead = "No";
            }
            else if (code == 1)
            {
                statusRead = "In Process";
            }
            else if (code == 2)
            {
                statusRead = "Yes";
            }

            return statusRead;
        }

        protected bool Antonym(Object value)
        {
            bool status = (Boolean)value;

            return !status;
        }
    }
}